<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>密码框可见操作</title>
  <link rel="stylesheet" href="layout.css">

</head>
<body>
<div id="main">
  密码：<input id="pwd" type="password" autofpcus>
  <div id="eye"></div>
</div>
<script src="//apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="main.js"></script>
</body>
</html>
